package org.company.earth.serialize;

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;

@JsonTypeInfo(use=JsonTypeInfo.Id.NAME, include=JsonTypeInfo.As.PROPERTY, property="@class")
@JsonSubTypes({
    @JsonSubTypes.Type(value=Pig.class, name="pig"),
    @JsonSubTypes.Type(value=Dog.class, name="dog")
})  
public abstract class BaseMixin {

}
